package util;

import java.util.Date;

public class LogConfiguration {

	private int m_id;
	
	private String m_filename;
	private int m_numberOfEntries;
	private int m_timeBetweenEntries;
	private Date m_created;
	
	public LogConfiguration()
	{
	
	}
	
	public LogConfiguration(int numberOfEntries, int timeBetweenEntriesInSec) {
		super();
		m_numberOfEntries = numberOfEntries;
		m_timeBetweenEntries = timeBetweenEntriesInSec;
	}
	public synchronized String get_filename() {
		return m_filename;
	}
	public synchronized void set_filename(String m_filename) {
		this.m_filename = m_filename;
	}
	public synchronized int get_numberOfEntries() {
		return m_numberOfEntries;
	}
	public synchronized void set_numberOfEntries(int ofEntries) {
		m_numberOfEntries = ofEntries;
	}
	public synchronized int get_timeBetweenEntries() {
		return m_timeBetweenEntries;
	}
	public synchronized void set_timeBetweenEntries(int betweenEntries) {
		m_timeBetweenEntries = betweenEntries;
	}
	public synchronized Date get_created() {
		return m_created;
	}
	public synchronized void set_created(Date m_created) {
		this.m_created = m_created;
	} 
	
	public synchronized int get_id() {
		return m_id;
	}
	public synchronized void set_id(int m_id) {
		this.m_id = m_id;
	}
	
	@Override
	public synchronized String toString()
	{
		return m_created.toString() + " Entries: " + m_numberOfEntries;
	}
}
